<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<div class="bjui-pageHeader">
	<!--form表单注意点--
		1.表单增加opertion属性（属性对应的value可以如下），没有加这个属性，默认用EqualTo
			"IsNull", // XXXX is null
            "IsNotNull", // XXXX is not null
            "EqualTo", // 等于 =
            "NotEqualTo", // 不等于 <>
            "GreaterThan", // 大于 >
            "GreaterThanOrEqualTo", // 大于等于 >=
            "LessThan", // 小于 <
            "LessThanOrEqualTo", // 小于等于 <=
            "Like", // 模糊查询 XXXX like %value%
            "NotLike", // XXXX not like %value%
            "LeftLike", // XXXX like %value
            "NotLeftLike", // XXXX not like %value
            "RightLike", // XXXX like value%
            "NotRightLike", // XXXX not like value%
            "In", // in ()
            "NotIn", // not in ()
            "Between", // 范围 between
            "NotBetween"// not between
	 -->
	<form id="pagerForm" method="post"
		action="$!{webPath}/tssy/tsSyKeyValue/queryRecordByPage"
		onsubmit="return pkgParam(this);" data-toggle="ajaxsearch">
		<!-- 分页参数 -->
		<input type="hidden" name="pageSize" value="$!{resultPage.limit}">
		<input type="hidden" name="pageCurrent" value="$!{resultPage.page}">
		<!-- 基本查询框 -->
		<div class="bjui-searchBar">
			<label for="j-dictCode" class="control-label x85">&nbsp;编码：</label>

			<input type="text" name="dictCode" id="j-dictCode" opertion="Like"
				value="$!{record.dictCode}" size="15" class="form-control" />&nbsp;
			<label for="j-dictKey" class="control-label x85">&nbsp;值：</label>

			<input type="text" name="dictKey" id="j-dictKey" opertion="Like"
				value="$!record.dictKey" size="15" />&nbsp;
			<button type="button" class="showMoreSearch" data-toggle="moresearch"
				data-name="custom">
				<i class="fa fa-angle-double-down"></i>
			</button>
			<button type="submit" class="btn-default" data-icon="search">查询</button>
			&nbsp; <a class="btn btn-orange" href="javascript:;"
				data-toggle="reloadsearch" data-clear-query="true" data-icon="undo">清空查询</a>
			<div class="pull-right">
				<button type="button" class="btn-blue"
					data-url="$!{webPath}/tssy/tsSyKeyValue/initAdd"
					data-toggle="dialog" data-id="sysTestAddNav" data-title="新增"
					data-icon="plus" data-options="{width:'650',height:'250'}">新增</button>
				&nbsp;
				<button type="button" class="btn-blue"
					data-url="$!{webPath}/tssy/tsSyKeyValue/delete?_method=delete"
					data-toggle="doajaxchecked" data-confirm-msg="确定要删除选中项吗？"
					data-icon="remove" data-idname="id" data-group="ids">批量删除</button>
				&nbsp;
			</div>
		</div>
		<!-- 更多查询框 -->
		<div class="bjui-moreSearch">
			<label for="j-dictValue" class="control-label x85">&nbsp;文本：</label>

			<input type="text" name="dictValue" id="j-dictValue" opertion="Like"
				value="$!record.dictValue" size="15" />&nbsp;
				<label for="j-isEnable" class="control-label x85">&nbsp;是否启用：</label>
				<input type="radio" opertion="EqualTo" class="form-control" #if($!record.isEnable&&$record.isEnable=='T')checked#end
				name="isEnable" id="j-enable" value="T" /><label for="j-enable">&nbsp;是</label>
				<input type="radio" opertion="EqualTo" class="form-control" #if($!record.isEnable&&$record.isEnable=='F')checked#end
				name="isEnable" id="j-disable" value="F" /><label for="j-disable">&nbsp;否</label>
		</div>
	</form>
</div>
<div class="bjui-pageContent tableContent">
	<table class="table table-bordered table-hover table-striped table-top"
		data-selected-multi="true">
		<thead>
			<tr>
				<th data-order-field="dict_Code">编码</th>
				<th data-order-field="dict_Name">编码名称</th>
				<th data-order-field="dict_Key">值</th>
				<th data-order-field="dict_Value">文本</th>
				<th data-order-field="is_Enable">是否启用</th>
				<th data-order-field="remark">备注</th>
				<th width="26"><input type="checkbox" class="checkboxCtrl"
					data-group="ids" data-toggle="icheck"></th>
				<th width="120">操作</th>
			</tr>
		</thead>
		<tbody>
			#foreach($obj in ${resultPage.resultList})
			<tr data-id="$!{obj.id}">
				<td>$!obj.dictCode</td>
				<td>$!obj.dictName</td>
				<td>$!obj.dictKey</td>
				<td>$!obj.dictValue</td>
				<td>#if($!obj.isEnable=='T') 是  #elseif($!obj.isEnable=='F') 否 #end</td>
				<td>$!obj.remark</td>
				<td><input type="checkbox" name="ids" data-toggle="icheck"
					value="$!obj.id"></td>
				<td><a
					href="$!{webPath}/tssy/tsSyKeyValue/qryRecordInfo?id=$!obj.id"
					class="btn btn-green" data-toggle="dialog" data-id="form"
					data-reload-warn="本页已有打开的内容，确定将刷新本页内容，是否继续？" data-title="编辑"
					data-options="{width:'650',height:'250'}">编辑</a> <a
					href="$!{webPath}/tssy/tsSyKeyValue/delete?id=$!obj.id&_method=delete"
					class="btn btn-red" data-toggle="doajax"
					data-confirm-msg="确定要删除该行信息吗？">删除</a></td>
			</tr>
			#end
		</tbody>
	</table>
</div>
<!-- 列表分页信息 -->
#parse("WEB-INF/page/common/pageBar.html")
